package com.cn.system.entity;

import com.cn.system.crawler.annotation.PageFieldSelect;
import com.cn.system.crawler.annotation.PageSelect;

@PageSelect(cssQuery=".course-card--wrapper")
public class GroupNode {

  @PageFieldSelect(cssQuery = ".content-title")
  private String title;

  @PageFieldSelect(cssQuery = ".content-desc")
  private String contentDesc;

  @PageFieldSelect(cssQuery = ".content-hint")
  private String contentHint;

  @Override
  public String toString() {
    return "GroupNode{" +
        "title='" + title + '\'' +
        ", contentDesc='" + contentDesc + '\'' +
        ", contentHint='" + contentHint + '\'' +
        '}';
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getContentDesc() {
    return contentDesc;
  }

  public void setContentDesc(String contentDesc) {
    this.contentDesc = contentDesc;
  }

  public String getContentHint() {
    return contentHint;
  }

  public void setContentHint(String contentHint) {
    this.contentHint = contentHint;
  }
}
